package cn.hd.entity;


import java.util.List;

public class Role {

  private long roleId;
  private String roleName;
  private String roleDesc;
  private long status;
  //定义一个children来保存期角色下所有的一级权限
  private List<Power> children;

  public Role() {
  }

  public Role(long roleId, String roleName, String roleDesc, long status) {
    this.roleId = roleId;
    this.roleName = roleName;
    this.roleDesc = roleDesc;
    this.status = status;
  }

  public List<Power> getChildren() {
    return children;
  }

  public void setChildren(List<Power> children) {
    this.children = children;
  }

  public long getRoleId() {
    return roleId;
  }

  public void setRoleId(long roleId) {
    this.roleId = roleId;
  }


  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }


  public String getRoleDesc() {
    return roleDesc;
  }

  public void setRoleDesc(String roleDesc) {
    this.roleDesc = roleDesc;
  }


  public long getStatus() {
    return status;
  }

  public void setStatus(long status) {
    this.status = status;
  }

}
